package utils

import "os"

func GetEnv(key, defaultValue string) string {
	log := InitLogger()
	value := os.Getenv(key)
	if value == "" {
		log.Info("GetEnv 获取为空")
		return defaultValue
	}
	return value
}
